#include "qprojectwindow.h"
#include "ui_qprojectwindow.h"
#include <QTreeWidgetItem>

QProjectWindow::QProjectWindow(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::QProjectWindow)
{
    ui->setupUi(this);
    SetTreeData();
}
void QProjectWindow::SetTreeData()
{
    ui->treeWidget->setHeaderLabel(QString("项目管理"));
    QTreeWidgetItem *item = new QTreeWidgetItem(ui->treeWidget,QStringList(QString("项目1")));
    QTreeWidgetItem *item1 = new QTreeWidgetItem(item,QStringList(QString("Band1")));
    item->addChild(item1);
}
QProjectWindow::~QProjectWindow()
{
    delete ui;
}
